package com.dayuanit.dy16.ebook.ebookweb.dto;

import lombok.Getter;
import lombok.Setter;

import java.util.List;

@Getter
@Setter
public class OrderDTO {
    private Long orderId;
    private String amount;
    private Integer status;
    private String statusValue;
    private String createTime;
    private String realName;
    private String phome;
    private String address;
    private List<OrderDetailDTO> childs;

    @Getter
    @Setter
    public static class OrderDetailDTO {
        private Long commodityId;
        private String commoName;
        private String picUrl;
        private Integer buyNum;
        private String price;
        private Long orderId;
    }
}
